home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 7 / BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso / Files / Hyper / News Stacks / Feb '90AMUG News™.cpt / Feb '90AMUG News™ / card_10968.txt < prev    next >
Text File  |  1990-03-11  |  3KB  |  83 lines

  1. -- card: 10968 from stack: in
  2. -- bmap block id: 11142
  3. -- flags: 0000
  4. -- background id: 2135
  5. -- name: Diamond
  6. ----- HyperTalk script -----
  7. on CloseCard
  8.   push card
  9. end CloseCard
  10.  
  11.  
  12.  
  13. -- part 1 (field)
  14. -- low flags: 00
  15. -- high flags: 0000
  16. -- rect: left=11 top=60 right=321 bottom=261
  17. -- title width / last selected line: 0
  18. -- icon id / first selected line: 0 / 0
  19. -- text alignment: 0
  20. -- font id: 2
  21. -- text size: 10
  22. -- style flags: 0
  23. -- line height: 13
  24. -- part name: 
  25.  
  26.  
  27. -- part 2 (field)
  28. -- low flags: 00
  29. -- high flags: 0000
  30. -- rect: left=262 top=60 right=334 bottom=508
  31. -- title width / last selected line: 0
  32. -- icon id / first selected line: 0 / 0
  33. -- text alignment: 0
  34. -- font id: 2
  35. -- text size: 10
  36. -- style flags: 0
  37. -- line height: 13
  38. -- part name: 
  39.  
  40.  
  41. -- part 4 (button)
  42. -- low flags: 00
  43. -- high flags: 0000
  44. -- rect: left=162 top=166 right=182 bottom=199
  45. -- title width / last selected line: 0
  46. -- icon id / first selected line: 1009 / 1009
  47. -- text alignment: 1
  48. -- font id: 0
  49. -- text size: 12
  50. -- style flags: 0
  51. -- line height: 16
  52. -- part name: 
  53. ----- HyperTalk script -----
  54. on mouseUp
  55.   dispPICT "prog4"
  56. end mouseUp
  57.  
  58.  
  59.  
  60. -- part contents for background part 1
  61. ----- text -----
  62. 17
  63.  
  64. -- part contents for card part 2
  65. ----- text -----
  66.   the graph for example.
  67.    If you‚Äôre not a programmer (as I am not), then seeing this code fully-commented is a great lesson in how to program. As a non-programmer, you could use Prototyper to build and refine your ‚Äúprototype‚Äù before hiring a programmer to fill in the missing code.
  68.    If you are a programmer, Prototyper can be a great time-saver in writing code blazingly fast to save you dozens, perhaps hundreds of hours of writing and rewriting, leaving you to spend your time with the ‚Äúheart‚Äù of your project rather than the mundane of menu writing and window opening, etc.
  69.    In using Proto-
  70. typer 2.0, I found 
  71. no bugs and have 
  72. only two complaints.
  73.  
  74. -- part contents for card part 1
  75. ----- text -----
  76. their dream program, revising the menu and operational interfaces before commencing to write code.  But, in fact, 
  77. that‚Äôs NOT all that Prototyper does. It goes 
  78. beyond ‚Äúgood‚Äù to ‚Äúgreat‚Äù because it actually writes the code for the dummy program in your choice of C (Lightspeed‚Ñ¢ or MPW‚Ñ¢) or Pascal (TML‚Ñ¢, Turbo‚Ñ¢, Lightspeed‚Ñ¢ or 
  79. MPW‚Ñ¢)!
  80.     Prototyper allows you to choose fully-commented code or sparsely-commented code so that if the former choice is made, nearly every line of C code explains what function it serves in the program. Where your Prototype program runs to the 
  81. ‚Äúdummy‚Äù type window, the computer-generated code will say something like
  82.  ‚ÄúInsert function here‚Äù and that‚Äôs where you will insert your code function to 
  83. perform the calculation or draw